<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ page import ="java.util.List"%>



    
<!DOCTYPE html>
<html>
<head>

    <meta charset="UTF-8">
    <title>Basic CRUD Application - jQuery EasyUI CRUD Demo</title>
  <link rel="stylesheet" type="text/css" href="../js/util/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../js/util/easyui/themes/icon.css">
	
	<script type="text/javascript" src="../js/util/jquery/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" src="../js/util/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript">
		function doSearch(){
			$('#tt').datagrid('load',{
				userid: $('#userid').val(),
				
			});
		}
	</script>
</head>
<body>
	<h2>所有用户信息</h2>
	<div class="demo-info" style="margin-bottom:10px">
		<div class="demo-tip icon-tip">&nbsp;</div>
		
	</div>
	
	<table id="tt" class="easyui-datagrid" style="width:700px;height:350px"
			url="../AdminGetAllUsers"
			title="Searching" iconCls="icon-search" toolbar="#tb"
			rownumbers="true" pagination="true">
		<thead>
			<tr>
				<th field="userid" width="50">用户id</th>
				<th field="username" width="50">用户名</th>
				<th field="sex" width="50" align="right">性别</th>
				<th field="province" width="50" align="right">省份</th>
				<th field="city" width="50">市县</th>
				<th field="cardid" width="200" align="center">身份证号码</th>
				<th field="phonenum" width="150" align="center">电话号码</th>
			</tr>
		</thead>
	</table>
	
</body>
</html>